﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Things.Web.Components
{
    public partial class GoodsOperation : System.Web.UI.UserControl
    {
        public Guid GoodsPriceID
        {
            get;
            set;
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                lblID.Text = GoodsPriceID.ToString();
            }
        }

        protected void lbtComment_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Goods/Goods.aspx?ID=" + lblID.Text + "#div3");
        }

        protected void lbtTuiHuo_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/GoodsOrders/TuiHuo.aspx?ID=" + lblID.Text);
        }
    }
}